package com.yxhl.zoume.data.http.rest.response.specialcar;

import com.google.gson.annotations.SerializedName;
import com.yxhl.zoume.data.http.model.specialcar.SpecialCarPriceQueryResult;
import com.yxhl.zoume.data.http.rest.response.base.BaseResponse;

import java.util.List;

/**
 * Created by sugarya on 16/4/9.
 * URL: /queryForCar
 */
public class SpecialCarPriceQueryResponse extends BaseResponse {
    /*
    {
    schedules=[
        SpecialCarPriceQueryResult{
            endCityCode='430921',
            startCityCode='430101',
            endCity='南县',
            startCity='长沙市',
            status=1,
            type='share',
            dest='南县',
            start='长沙市',
            actualPrice=50,
            totalPrice=50,
            id=815
        },
        SpecialCarPriceQueryResult{
            endCityCode='430921',
            startCityCode='430101',
            endCity='南县',
            startCity='长沙市',
            status=1,
            type='charter',
            dest='南县',
            start='长沙市',
            actualPrice=200,
            totalPrice=200,
            id=818
        }
    ]
}
     */

    @SerializedName("schedules")
    private List<SpecialCarPriceQueryResult> schedules;


    public SpecialCarPriceQueryResponse(List<SpecialCarPriceQueryResult> schedules) {
        this.schedules = schedules;
    }


    public List<SpecialCarPriceQueryResult> getSchedules() {
        return schedules;
    }

    public void setSchedules(List<SpecialCarPriceQueryResult> schedules) {
        this.schedules = schedules;
    }


    @Override
    public String toString() {
        return "SpecialCarPriceQueryResponse{" +
                "schedules=" + schedules +
                '}';
    }

}
